<div class="left_col scroll-view">
    <div class="navbar nav_title" style="border: 0;">
        <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>在线考试后台</span></a>
    </div>

    <div class="clearfix"></div>

    <!-- menu profile quick info -->
    <div class="profile clearfix">
        <div class="profile_pic">
            <img name="userImage" th:src="${session.user.userImage}" alt="..." class="img-circle profile_img">
        </div>
        <div class="profile_info">
            <span>欢迎,</span>
<!--            <h2><span name="userName" shiro:principal property="userName"/></h2>-->
            <h2><span name="userName" th:text="${session.user.userName}"/></h2>

        </div>
    </div>

    <!-- /menu profile quick info -->

    <br/>

    <!-- sidebar menu -->
    <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
        <div class="menu_section">
            <h3>主菜单</h3>
            <ul class="nav side-menu">
                <!--第一级-->
                <li shiro:hasAnyRoles="admin,manager,staff">
                    <a href="/common/dashboard"><i class="fa fa-home"></i> 主页面 </a>
                </li>
                <!-- 一级标题 -->
                <li><a><i class="fa fa-user"></i> 用户管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li shiro:hasAnyRoles="admin,teacher,student">
                            <a href="/account/profile">个人主页</a>
                        </li>
                        <li shiro:hasAnyRoles="admin">
                            <a href="/account/users">用户列表</a>
                        </li>
                        <li shiro:hasAnyRoles="admin">
                            <a href="/account/roles">角色列表</a>
                        </li>
                        <li shiro:hasAnyRoles="admin">
                            <a href="/account/resources">资源列表</a>
                        </li>
                    </ul>
                </li>
                <!-- 一级标题 -->
                <li><a><i class="fa fa-user"></i> 考试管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li shiro:hasAnyRoles="admin,teacher,student">
                            <a href="/exam/questions">题目列表</a>
                        </li>
                        <li shiro:hasAnyRoles="admin,teacher,student">
                            <a href="/exam/papers">试卷列表</a>
                        </li>
                        <li shiro:hasAnyRoles="admin,teacher">
                            <a href="/exam/correct">批改列表</a>
                        </li>
                        <li shiro:hasAnyRoles="admin,teacher,student">
                            <a href="/exam/approvals">报名审核</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>

    <!-- /menu footer buttons -->
    <div class="sidebar-footer hidden-small">
        <a data-toggle="tooltip" data-placement="top" title="Settings">
            <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="FullScreen">
            <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="Lock">
            <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
        </a>
        <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">
            <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
        </a>
    </div>
    <!-- /menu footer buttons -->
</div>
</div>